
#ifndef API_H
#define API_H
	
	//int api_main(int edi ,int esi ,int ebp ,int esp ,int ebx ,int edx ,int ecx ,int eax) ;

	void api_putchar (int c);
	void api_putchar2win(int cmd_win , int c);
	void api_putstr(char *str);
	void api_putstr_length (char *str ,int length ) ;
	void api_end (void);	
	int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title);
	
	int api_fopen (char * name) ;
	void api_fclose (int fhandler)  ;
	void api_fseek (int fhandler ,int offset ,int mode) ;
	int api_fread (char *buf ,int maxsize ,int fhandler) ;
	int api_fsize (int fhandler ,int mode) ;

	


#endif 